FROM centos
MAINTAINER "JyQAQ"
RUN yum install -y nginx
WORKDIR /etc/nginx
COPY nginx.conf nginx.conf
WORKDIR /usr/share/nginx/html
COPY dist .
EXPOSE 80
CMD nginx -g "daemon off;"

#FROM nginx
#COPY nginx.conf /etc/nginx/nginx.conf
#COPY dist /usr/share/nginx/html
